package com.wfit.service;

import com.wfit.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface UploadService {
    /**
     * 图片上传
     * @param image
     * @return
     */
    String upload(MultipartFile image) throws IOException;

    void uploadAvatar(MultipartFile image) throws IOException;
}
